package com.gml.design.other.factorymethod;

/**
 * @ClassName : Main
 * @Description : 运行类
 * @Author : gml
 * @Date: 2021-04-06 17:24
 */
public class Main {

    public static void main(String[] args) {
//        Moveable move = new Plane();
//        Moveable move = new SimpleVehicleFactory().createCar();
        Moveable move = new CarFactory().create();
        move.go();
    }

}
